dsh-pwsh7: Pin DSH's pwsh Tool to PowerShell 7
dsh-pwsh7 is a DSH workflow plugin that enforces the pwsh tool to be locked to PowerShell 7 at startup, rejecting any fallback to Windows PowerShell 5.1. By leveraging multi-level path resolution, version validation, and PATH insertion, it ensures all shell commands execute within a unified PowerShell 7 environment. The plugin is available on Windows only. Configuration options include an explicit path and a strict mode toggle.
Read Moredsh-win-pwsh7: Enabling the DSH `pwsh` tool to run real PowerShell 7 on Windows
When using DSH on Windows, the `pwsh` tool may fall back to PowerShell 5.1, causing `&&` and `||` parse failures. The community plugin `dsh-win-pwsh7` (by xinspark), written in pure JavaScript with zero dependencies, provides `pwsh7_status` and `pwsh7_install`: it detects and validates paths, installs self-updating packages exclusively from the Microsoft Store, checks for metered connections before installation, and delivers copy-paste-ready cordis patches along with model prompt snippets. This article covers the installation command, the `overridePath`/`installIfMissing` configuration options, how to monitor background job progress, and notes on applicability and caveats.
Read Moredsh-plugin-pwsh7: Routing DSH's pwsh tool to PowerShell 7 on Windows
dsh-plugin-pwsh7 is a Windows client bundle maintained by drliuhuan that, while preserving the sandbox behavior of dsh-pwsh-sandbox, resolves the pwsh tool exposed to the model to PowerShell 7. The plugin provides shell_router diagnostics and routing, a Web settings page and installation dialog (installation is only triggered by the user), as well as optional PowerShell 7 dialect hints and Composer chips. The installation command is `plugin_manager action=install_bundle target=dsh-plugin-pwsh7@0.3.3`. It is suitable for Windows developers who need stable PowerShell 7 and observable routing under the DSH Web/desktop profile.
Read Moredsh-coding-preset: Preset for using persistent pwsh in DSH coding mode on Windows
dsh-coding-preset is a deprecated (DEPRECATED) Windows-adapted DSH coding mode preset designed to replace the default bash with a persistent PowerShell 7 (pwsh) session. This preset retains the core boundaries of the official minimal mode, exposes only the pwsh and str_replace_editor tools, and implements state preservation via node-pty/ConPTY. In the danger-full-access mode, variables, functions, and directories persist between invocations; whereas in read-only or workspace-write modes, it executes single-shot commands without state preservation. It also supports single-shot sandbox elevation, allowing the carrying of reasonable...
Read More